package cn.itsource.basic.domain;


import cn.hutool.core.util.IdUtil;

import java.util.UUID;

public interface BaseDomain  {
   public void  setId(Long id);
    public Long  getId();
    public void  setDel(Boolean del);
    public Boolean  getDel();
    default void setSnowflakeId(){
        setId(IdUtil.getSnowflakeNextId());
    }



}
